<template>
    <div>
        这是孙子组件{{ cc }}{{ dd }}{{ pp }}
    </div>
</template>

<script setup lang="ts">
import { inject, provide } from "vue";

const cc=inject("cc");
const dd=inject("dd")
const pp=inject("ss")
</script>

<style scoped>

</style>